package com.coupons.business.partnerpage.dao;

import java.util.List;

import com.coupons.business.common.exception.BaseCouponsAppException;
import com.coupons.business.common.vo.Page;

public interface IPartnerPageDAO 
{
	public void createPage(Page objaPage) throws BaseCouponsAppException;
	public void updatePage (Page objaPage) throws BaseCouponsAppException;
	public Page getPage(int pageId) throws BaseCouponsAppException;
	public List<Page> getAllPages()throws BaseCouponsAppException ;
	
	public String PAGE_INSERT_STATEMENT = "INSERT INTO PAGE VALUES(?,?,?)";
	public String PAGE_UPDATE_STATEMENT = "";
	public String SEQUENCE_NAME="page_sq";
	public String GET_ALL_PAGES_STATEMENT = "SELECT * FROM PAGE";
	public String GET_PAGE_STATEMENT = "SELECT * FROM PAGE where page_id = ?";
}	